<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页面</title>
</head>
<%
    Object isLogin=session.getAttribute("isLogin");
    if(isLogin==null)
    {
        request.setAttribute("msg","请登录");
        request.getRequestDispatcher("login.jsp").forward(request,response);
    }
%>
<frameset rows="10%,*,5%" style="width: 100%;height: 100%">
    <frame src="header.jsp" frameborder="no" width="100%" scrolling="no"/>
    <frame src="main.jsp" frameborder="no" width="100%" scrolling="yes"/>
    <frame src="footer.jsp" frameborder="no" width="100%" scrolling="no"/>
    <noframes>
        您的浏览器不支持框架技术
    </noframes>
</frameset>
</html>
